<?php
/**
 * CEOfox
 *
 * @copyright  Copyright 2011-2012 CEOfox, Inc.
 * @license    http://ceofox.com/pages/license
 * @version    $Id: call_extra_html_start.php 47083 2013-05-24 09:40:17 $
 * @author     CEOfox, Inc.
 */
?>
<?php
    if (Phpfox::isModule('follow'))
    {
        if($iTarget_id = isset($this->_aVars['aWidget']['target_id']) and $sUser_name = $this->_aVars['aWidget']['full_name'])
        {
            echo "<a href=\"{url link=\"follow.add\" following-id=$iTarget_id}\" class=\"btn\" >".{pharse var='follow.follow_user' user_name=$sUser_name}."</a>";    
        }      
    }
  
?> 